﻿using System;

namespace OrderGeneratorService
{
   [Serializable]
    public class ServiceOrder : Order
    {
      string traderId;
        public ServiceOrder(string trader, string instrument, string orderType, int quantity, double price, int buySell)
           : base(trader, instrument, orderType, quantity, price, buySell)
        {
            this.traderId = trader;
            this.ServiceName = instrument;
            this.OrderType = orderType;
            this.BuySell = buySell;
            this.Price = price;
            this.NumOfContract = quantity;
        }
    }
}
